package com.itheima.tlias.service;


import com.itheima.tlias.pojo.Emp;
import com.itheima.tlias.pojo.JobDateOption;
import com.itheima.tlias.pojo.LogInfo;
import com.itheima.tlias.pojo.PageResult;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface EmpService {
	PageResult<Emp> page(String name, Integer gender, LocalDate begin, LocalDate end, Integer page, Integer pageSize);

	void save(Emp emp) throws Exception;

	List<Emp> listAll();

	void deleteByIds(List<Integer> ids);

	Emp infoById(Integer id);

	void update(Emp emp);

	JobDateOption getJobData();

	List<Map<String, Object>> getGenderData();

	LogInfo login(Emp emp);
}
